<?php

/*
 * Copyright (c) 2012-2013 Aalto University and University of Helsinki
 * MIT License
 * see LICENSE.txt for more information
 */


class VocabularyCategory extends DataObject {

  public function getVocabularies() {
    return $this->model->getVocabulariesInCategory($this->resource);
  }

  public function getTitle() {
    return $this->resource->label($this->lang)->getValue();
  }

}
